﻿using System; 
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.RedPacket.RedPacketSupplement
{
    /// <summary>
    ///  数据模型
    /// </summary>
    [Table("redpacketsupplement")]
    public class RedPacketSupplementEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 红包补充记录id
        /// </summary>
        public long RedPacketSupplementId { get; set; }
        /// <summary>
        /// 红包Id
        /// </summary>
        public long RedPacketId { get; set; }
        /// <summary>
        /// 红包类型Id
        /// </summary>
        public long RedPacketTypeId { get; set; }
        /// <summary>
        /// 红包类型
        /// </summary>
        public string RedPacketType { get; set; }
        /// <summary>
        /// 红包金额
        /// </summary>
        public decimal RedPacketAmount { get; set; }
        /// <summary>
        /// 红包名字
        /// </summary>
        public string RedPacketName { get; set; }
        /// <summary>
        /// 红包数量
        /// </summary>
        public int RedPacketCount { get; set; }
        /// <summary>
        /// 代理商id
        /// </summary>
        public long AgentRecordId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public long CreateAdminId { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string CreateAdminName { get; set; }

    }
}
